<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}style.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}contact.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sgallery.js"></script>
</head>
<body>
{template "content","header"}
<!--main-->
<div class="main center w1024">
    <div class="w980 center channel">
        <div class="bk-top"></div>
        <div class="channel-hot _float">
            <div class="news-hot">
                <div class="icon"></div>
                <div class="content">
                    <div class="_up">
                        {pc:content  action="position" posid="15" catid="$catid" thumb="1" order="listorder DESC" num="1"}
                        {loop $data $v}
                        <h4 class="blue"><a href="{$v[url]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></h4>
                        <p><img src="{thumb($v[thumb],90,60)}" width="90" height="60" />{str_cut(strip_tags($v[description]), 200)}</p>
                        {/loop}
                        {/pc}
                        <div class="_clear"></div>
                    </div>
                    {pc:content  action="lists" catid="$catid" order="id DESC" num="6"}
                    <ul>
                        {loop $data $k $v}
                        <li><span class="_time">{date('Y-m-d',$v['inputtime'])}</span>
                        <img src="{IMG_PATH}web/dot1.gif" />
                        <a href="{$v[url]}" title="{$v[title]}" target="_blank"{title_style($v[style])}>{str_cut($v[title], 60)}</a></li>
                        {/loop}
                    </ul>
                    {/pc}
                </div>
            </div>
        </div>
        <div class="channel-slide _rfloat">
            {pc:content  action="lists" catid="$catid" order="listorder ASC" thumb="1" num="5"}
            <div class="_float">
                <ul class="photo">
                    {loop $data $k $v}
                    <li><a href="{$v[url]}" title="{$v[title]}"><img src="{thumb($v[thumb], 412, 236)}" width="412" height="236" alt="{$v[title]}" /></a></li>
                    {/loop}
                </ul>
                <div class="title">
                    {loop $data $k $v}
                    <p  {if $n==1}style="display:block"{/if}><strong><a href="{$v[url]}" title="{$v[title]}" class="blue"{title_style($v[style])}>{str_cut($v[title], 36)}</a></strong><br />
                        {str_cut(strip_tags($v[description]), 102)}</p>
                    {/loop}
                </div>
            </div>
            <ul class="thumb">
                {loop $data $k $v}
                <li {if $n==1}class="on" style="margin:0"{/if}><a href="{$v[url]}"><img src="{thumb($v[thumb], 82, 50)}"  alt="{$v[title]}" width="82" height="50" />
                    <div class="icon">
                    </div>
                    </a></li>
                {/loop}
            </ul>
            {/pc}
        </div>
        <div class="_clear"></div>
        <div class="AD1">
            <div><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=8"></script></div>
        </div>
        <div class="bk10"></div>
        <div class="col-left">
            {php $j=1;}
            {loop subcat($catid) $v}
            {php if($v['type']!=0) continue;}
            <div class="w360 _float _item" {if $j%2==0}style="margin-left:10px;"{/if}>
                <table border="0" width="100%" class="h34 _title _bgcolor">
                    <tr>
                        <td width="25" class="_icon"><img src="{IMG_PATH}web/icon2.png" /></td>
                        <td class="_name">{$v[catname]}</td>
                        <td align="right" class="_more"><a href="{$v[url]}" title="查看更多"><img src="{IMG_PATH}web/more2.png" border="0" /></td>
                    </tr>
                </table>
                <div class="content _list">
                    {pc:content action="lists" catid="$v[catid]" thumb="1" num="1" order="id DESC"}
                    <p> {loop $data $v}
                        <a href="{$v[url]}" target="_blank" class="_pic"><img src="{thumb($v[thumb],70,60)}" width="70" height="60"/></a>
                        <strong><a href="{$v[url]}" target="_blank" title="{$v[title]}"{title_style($v[style])}>{str_cut($v[title], 30)}</a></strong><br />
                        {str_cut($v[description],120,'..')}
                        {/loop}
                    </p>
                    {/pc}
                    <div class="bk15 hr"></div>
                    <ul class="list lh24 f14">
                        {pc:content action="lists" catid="$v[catid]" num="5" order="id DESC"}
                        {loop $data $v}
                        <li{if $n%2} class="_odd"{/if}><span class="_time">[{date('m-d',$v['inputtime'])}]</span>
                        <span><img src="{IMG_PATH}web/arrow2.png" />
                        <a href="{$v[url]}" target="_blank"{title_style($v[style])}>{str_cut($v[title],54,'')}</a></span>
                        </li>
                        {/loop}
                        {/pc}
                    </ul>
                </div>
            </div>
            {if $j%2==0}
            <div class="_clear"></div><div class="bk10"></div>
            {/if}
            {if $j%4==0}
            <div class="lanAD"><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=4"></script></div>
            <div class="bk10"></div>
            {/if}
            {$j++}
            {/loop}
        </div>
        <div class="col-auto">
            <div class="_rbox">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td width="25" class="_icon"><img src="{IMG_PATH}web/icon3.png" /></td>
                        <td class="_name">频道总排行</td>
                        <td align="right" class="_more"></td>
                    </tr>
                </table>
                <div class="_list">
                    <ul class="content digg">
                        {pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
                        {loop $data $v}
                        <li><img src="{IMG_PATH}web/arrow1.png" />
                        <a href="{$v[url]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></li>
                        {/loop}
                        {/pc}
                    </ul>
                </div>
            </div>
            <div class="bk10"></div>
            <div class="_rbox">
                <table border="0" width="100%" class="h34 _title">
                    <tr>
                        <td width="25" class="_icon"><img src="{IMG_PATH}web/icon3.png" /></td>
                        <td class="_name">频道本月排行</td>
                        <td align="right" class="_more"></td>
                    </tr>
                </table>
                <div class="_list">
                    <ul class="content rank">
                        {pc:content action="hits" catid="$catid" num="8" order="monthviews DESC" cache="3600"}
                        {loop $data $v}
                        <li><span>{number_format($v[monthviews])}</span><a href="{$v[url]}"{title_style($v[style])} class="title" title="{$v[title]}">{str_cut($v[title],56,'...')}</a></li>
                        {/loop}
                        {/pc}
                    </ul>
                </div>
            </div>
        </div>
        <div class="_clear"></div>
        {template "content","border-b"}
    </div>
</div>
<script type="text/javascript">
function ChannelSlide(Name,Class){
    $(Name+' ul.photo li').sGallery({
        titleObj:Name+' div.title p',
        thumbObj:Name+' .thumb li',
        thumbNowClass:Class
    });
}
new ChannelSlide(".channel-slide","on");
</script>
{template "content","footer-min"}
{template "content","contact"}
</body>
</html>
